#ifndef HEROPLANE_H
#define HEROPLANE_H
#include <QPixmap>
#include <QRect>
#include <Qpixmap>
#include "config.h"
#include "bullet.h"
#include "plane.h"


class HeroPlane:public Plane
{
public:
    HeroPlane();
    //发射子弹
    void shoot();
    //设置飞机的位置
    void setPosition(int x,int y);

//    //飞行资源 对象
    QPixmap m_Plane;

    //弹匣
    bullet m_bullets[BULLET_NUM];
    
    //发射间隔记录
    int m_recorder;

    //状态
    bool m_Free;

};

#endif // HEROPLANE_H
